package com.zhongshengnetwork.rightbe.Constant;

/**
 * Created by luojingxing on 2019/8/3.
 */

public class LetterConstant {

    //私信时间间隔
    public static final int sx_msg_timeout = 120000;

    //私信类型
    public static final int sx_timeMsg = -2;//时间消息
    public static final int sx_unDefineMsg = -1;//未定义消息
    public static final int sx_textMsg = 0;//文本消息

    //私信发送状态
    public static final int sx_normal_state = 0;
    public static final int sx_sending_state = 1;
    public static final int sx_sendFail_state = 2;

    //私信名单类型
    public static final int sx_normal_people = -1;
    public static final int sx_black_people = 0;
    public static final int sx_star_people = 1;

    //私信开放类型
    public static final int sx_all_open_type = 1; //对所有人开放
    public static final int sx_fan_open_type = 2; //对粉丝开放
    public static final int sx_care_open_type = 3; //对关注的人开放

    //私信的相关标志
    public static final String SXStateKey = "SXStateKey";
    public static final String SXTypeKey = "SXTypeKey";
    public static final String UnReadOfSXMSGKey = "UnReadOfSXMSGKey"; //未读的私信
    public static final String InMessageKey = "InMessageKey"; //在消息界面
    public static final String InChatKey = "InChatKey"; //在聊天界面
    public static final String ReceivingKey = "ReceivingKey"; //接收中
    public static final String SXMessageNotify = "SXMessageNotify"; //私信通知
    public static final String SXChatNotify = "SXChatNotify"; //私信聊天通知
    public static final String SXBlackAsyncKey = "SXBlackAsyncKey"; //私信黑名单同步
    public static final String SXBlackPageKey = "SXBlackPageKey"; //私信黑名单同步页码

    //锁屏手势密码
    public static final String GestureKey = "GestureKey";

    //数量宏定义
    public static final int MaxReadNumber = 50;//初始化最大读取信息条数
    public static final int FirstMaxReadNumber = 250;//初始化最多读取数量
    public static final int TimeOut = 120000;//超时时间，单位:豪秒

    //布局类型
    public static final int viewLayoutTypeCount = 12;//布局类型数量
    public static final int unKnowLayoutType = 0;//未知类型
    public static final int textMsgLayoutType = 1;//文本消息
    public static final int xiaoHuiTiaoLayoutType = 2;//小灰条消息
    public static final int voiceLayoutType = 3;//语音消息
    public static final int imageLayoutType = 4;//图片消息
    public static final int locationLayoutType = 5;//位置消息
    public static final int cardLayoutType = 6;//名片消息
    public static final int goodsLayoutType = 7;//商品消息
    public static final int redpacketsLayoutType = 8;//红包消息
    public static final int picLayoutType = 9;//图片表情消息



}
